package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 明暗检表
 *
 * @author code-generate
 * @date 2022-02-21
 */
@Data
@DbTable(tableName = "t_check_desc")
public class CheckDesc extends BaseEntity {
        /**
     * 标段id
     */
    @DbTableField(columnName = "c_section_id", dbType = DbTypeEnum.VARCHAR)
    public String sectionId ;

    /**
     * 标段名称
     */
    @DbTableField(columnName = "c_section_name", dbType = DbTypeEnum.VARCHAR)
    public String sectionName ;

    /**
     * 检查人员
     */
    @DbTableField(columnName = "c_check_name", dbType = DbTypeEnum.VARCHAR)
    public String checkName ;

    /**
     * 检查时间
     */
    @DbTableField(columnName = "c_check_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime checkDate ;

    /**
     * 扣分
     */
    @DbTableField(columnName = "c_score", dbType = DbTypeEnum.VARCHAR)
    public String score ;

    /**
     * 0:明检，1:暗检
     */
    @DbTableField(columnName = "c_type", dbType = DbTypeEnum.VARCHAR)
    public String type ;

    /**
     * 内容
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String desc ;



}
